package SmartHome.dao;

import SmartHome.entity.DeviceTypeInfo;

import java.util.List;

public interface DeviceTypeDao {

    //添加设备种类
    public void add(DeviceTypeInfo DevicesType);
    //通过id删除设备种类
    public void delete(int DevicesTypeId);
    //通过id查询设备种类
    public DeviceTypeInfo query(int DevicesTypeId);
    public void update(int DevicesTypeId, DeviceTypeInfo DevicesType);
    public List<DeviceTypeInfo> getAll();
}
